SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 49206: The Score node gives an "Open code statement recursion detected" error, and no output data set is produced

DetailsAboutRate It

In SAS® Text Miner, a Score node that follows a Text Filter node might complete processing but fail to produce an output data set with scores. A successful Score node should produce an output data set. If no output data set is produced, then the following error might be displayed in the log when you try to open the results:

ERROR: Open code statement recursion detected.

The problem occurs when a non-printable character exists in a noun phrase in the training data set. The terms table is stored in SAS code, and the table is dynamically generated at score time. The non-printable character prevents successful generation of the exported scored-output data set. Example: a non-printable character (such as an end of line or end of paragraph marker) could be hidden, or the character might not be recognized by the encoding that is used.

To work around the problem, identify the document that contains the noun phrase that is causing the issue. After identifying, take either of these actions:

  • remove the non-printable character
  • remove the document

After either action, rerun the flow.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Text MinerMicrosoft® Windows® for x645.114.19.3 TS1M09.4 TS1M3
Microsoft Windows Server 20085.114.19.3 TS1M09.4 TS1M3
Microsoft Windows Server 2008 for x645.114.19.3 TS1M09.4 TS1M3
Microsoft Windows XP Professional5.19.3 TS1M0
Windows 7 Enterprise 32 bit5.114.19.3 TS1M09.4 TS1M3
Windows 7 Enterprise x645.114.19.3 TS1M09.4 TS1M3
Windows 7 Home Premium 32 bit5.114.19.3 TS1M09.4 TS1M3
Windows 7 Home Premium x645.114.19.3 TS1M09.4 TS1M3
Windows 7 Professional 32 bit5.114.19.3 TS1M09.4 TS1M3
Windows 7 Professional x645.114.19.3 TS1M09.4 TS1M3
Windows 7 Ultimate 32 bit5.114.19.3 TS1M09.4 TS1M3
Windows 7 Ultimate x645.114.19.3 TS1M09.4 TS1M3
64-bit Enabled AIX5.114.19.3 TS1M09.4 TS1M3
64-bit Enabled Solaris5.114.19.3 TS1M09.4 TS1M3
HP-UX IPF5.114.19.3 TS1M09.4 TS1M3
Linux for x645.114.19.3 TS1M09.4 TS1M3
Solaris for x645.114.19.3 TS1M09.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.